package com.meilai.project.vo.app;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author 张驰
 * @date 2021/11/17 16:57
 */
@Data
public class WorkerQueryWorkOrderVO {
    @ApiModelProperty(value = "工单id")
    private Long id;
    @ApiModelProperty(value = "名称")
    private String name;
    @ApiModelProperty(value = "截止时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime deadline;
    @ApiModelProperty(value = "类型id，1上刊，2下刊，3巡检，4新安装，5维修")
    private Integer work_order_type_id;
    @ApiModelProperty(value = "类型名称")
    private String work_type_name;
    @ApiModelProperty(value = "是否执行中")
    private Boolean is_exe;
    @ApiModelProperty(value = "是否过期")
    private Boolean is_expire;
    @ApiModelProperty(value = "是否手动关闭")
    private Boolean hand_closed;
    @ApiModelProperty(value = "总数")
    private Integer total_num;
    @ApiModelProperty(value = "已提交，待审核数")
    private Integer installed_to_check_num;
    @ApiModelProperty(value = "已提交，通过数")
    private Integer installed_passed_num;
    @ApiModelProperty(value = "已提交总数")
    private Integer installed_total_num;
    @ApiModelProperty(value = "是否关闭（手动关闭，或安装数已满）")
    private Boolean closed;
    @ApiModelProperty(value = "备注")
    private String remark;
    @ApiModelProperty(value = "客户id")
    private Long customer_id;
    @ApiModelProperty(value = "客户名称")
    private String customer_name;
}
